﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/ProtalMain.Master"
    Inherits="System.Web.Mvc.ViewPage<Microhard.Permission.Models.Logon>" %>

<%@ Import Namespace="Microhard.Framework.MVCHelper" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    登录
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="Function">
        <div id="PathTree">
            <span class="before"></span><span class="last"></span>
        </div>
        <div id="share">
        </div>
    </div>
    <div id="HorContent">
        <div id="InquiryAddTo">
            <span class="title">登录</span>
            <%using (Html.BeginForm("Login", "Account", FormMethod.Post))
              { %>
            <table width="100%">
                <tr>
                    <td colspan="2">
                        <%=Html.ValidationSummary(true)%>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <span class="smalltitle">用户名</span>
                    </td>
                    <td align="center">
                        <%=Html.TextBoxFor(m => m.UserName, new { @class = "inputcss" })%>
                    </td>
                    <td style="width: 100px;">
                        <%=Html.ValidationMessageFor(m=>m.UserName) %>
                    </td>
                </tr>
                <tr>
                    <td align="right">
                        <span class="smalltitle">密码</span>
                    </td>
                    <td align="center">
                        <%=Html.PasswordFor(m => m.Password, new { @class = "inputcss" })%>
                    </td>
                    <td style="width: 100px;">
                        <%=Html.ValidationMessageFor(m => m.Password)%>
                    </td>
                </tr>
            </table>
            <input class="SubmitBtn" type="submit" value="登录" />
            <%} %>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptCssContent" runat="server">
    <link rel="stylesheet" type="text/css" href="<%=Url.Content("~/Content/Protal/global.css")%>"
        media="screen" />
    <style>
        .inputcss
        {
            border: solid 1px #054C9A;
            width: 280px;
            height: 22px;
            background-color: #fff;
            font-size: medium;
        }
    </style>
</asp:Content>
